﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="StatisticTeacher.ascx.cs"
    Inherits="Assessment.Management.UI.Admin.UserControls.Statistic.StatisticTeacher" %>
<link href="../../../../Styles/Style.css" rel="stylesheet" type="text/css" />

            <center>
            <h1>
                Thống kê chi tiết bình chọn giáo viên</h1>
        </center>
        <br />
        <div class="main">

        <table cellpadding="5" cellspacing="5">
        <tr class="form">
        <td><b>
        Họ và tên giáo viên:</b>
        </td>
        <td>
            <asp:Label ID="lblTenGV" runat="server" Text="Label"></asp:Label>
        </td>
        </tr>
                <tr class="form">
        <td>
        <b>
        Môn học:</b>
        </td>
        <td>
        <asp:Label ID="lblMon" runat="server" Text="Label"></asp:Label>
        </td>
        </tr>
        <tr class="form">
        <td>
        <b>
        Lớp:</b>
        </td>
        <td>
        <asp:Label ID="lblLop" runat="server" Text="Label"></asp:Label>
        </td>
        </tr>
        <tr class="form">
        <td>
        <b>
        Điểm đánh giá:</b>
        </td>
        <td>
        <asp:Label ID="lblDiem" runat="server" Text="Label"></asp:Label>
        </td>
        </tr>
        </table>
        <br />
            <table width="100%" style="width: 100%" class="tableDisplay">
                <asp:Repeater ID="rptQuestion" runat="server" OnItemDataBound="rptQuestion_ItemDataBound">
                    <ItemTemplate>
                        <asp:HiddenField ID="hdQuestionID" Value='<%# Eval("ID") %>' runat="server"></asp:HiddenField>

                        <tr>
    
                            <td width="500px;" style="padding:5px;">
                                

                                        <b><%#Eval("Text") %>:</b>
                                        <br />
                                        <asp:Repeater ID="rptAnswer" runat="server">
                                            <ItemTemplate>
                                                -
                                                <%#Eval("OPText") %>:
                                                <%#Eval("HitCount") %>
                                                bình chọn<br />
                                            </ItemTemplate>
                                        </asp:Repeater>
                               
                            </td>
                            <td style="padding:5px;">
                                <asp:Chart ID="ChartDetail" runat="server" Height="150px" Width="180px">
                                    <Series>
                                        <asp:Series Name="Series1" IsValueShownAsLabel="True" ChartType="Pie" Legend="Legend1" LegendText="">
                                        </asp:Series>
                                    </Series>
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea1" Area3DStyle-Enable3D="true">
                                        </asp:ChartArea>
                                    </ChartAreas>
                                    <Legends>
                                        <asp:Legend Name="Legend1">
                                        
                                        </asp:Legend>
                                    </Legends>
                                </asp:Chart>
                            </td>
                        </tr>

                    </ItemTemplate>
                </asp:Repeater>
            </table>
           
        </div>